import useMqtt from '@/composables/utils/useMqtt';
const { startMqtt } = useMqtt();
startMqtt('主题topic', (topic, message) => {
   const msg = JSON.parse(message.toString());
   console.log(msg);
});
